python check if number is complex

45

python check if number is complex -

>>> isinstance(1j, complex)
True

Comments

Submit
0 Comments